﻿using UnityEngine;
using System.Collections;

public class GameObjectRotateAboutPoint : MonoBehaviour 
{
    public Vector3 Point;
    public Vector3 RotationAxis = Vector3.zero;
    public float Speed = 1;

	// Use this for initialization
	void Start () 
    {
	
	}
	
	// Update is called once per frame
	void Update () 
    {
        transform.RotateAround(Point, RotationAxis.normalized, Speed);
	}
}
